﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace L4View.Infrastructure
{
    public class DisposableObject : IDisposable
    {
        ~DisposableObject()
        {
            Dispose(false);
        }

        public void Dispose()
        {
            Dispose(true);
            GC.SuppressFinalize(this);
        }

        public virtual void Dispose( bool disposing )
        {
        }
    }
}
